/*
 * Copyright (c) 2002-2004, xRhino, Inc.
 *
 * This library is free software; you can redistribute and/or modify
 * it under the terms of the dual license distributed with this source
 * package (a combined Trolltech QPL/GPL-compatible license)
 *
 * Under this dual license scheme, a separate license is available for use of 
 * this code with a proprietary (closed) system. For more information on the 
 * license, please see the LICENSE file distributed with this source package.
 */
#ifndef SUGPATHSEGCURVETOCUBICSMOOTH_H
#define SUGPATHSEGCURVETOCUBICSMOOTH_H

#include "SugTypes.h"
#include "SugPathSeg.h"

/**
 * The class represents the S,s path command.
 */
class SugPathSegCurvetoCubicSmooth: public SugPathSeg
{
  protected:
   /**
    * The x2 variable.
    */
    SugRealType mX2;

   /**
    * The y2 variable.
    */
   SugRealType mY2;

  public:
   /**
    * Returns the x2 variable.
    */
    SugRealType getX2();

   /**
    * Returns the y2 variable.
    */
   SugRealType getY2();

   /**
    * Sets the x2 variable.
    */
   SugRealType setX2(SugRealType newX2);

   /**
    * Sets the y2 variable.
    */
   SugRealType setY2(SugRealType newY2);

   /**
    * The class constructor.
    */
   SugPathSegCurvetoCubicSmooth();

   /**
    * The class destructor.
    */
   ~SugPathSegCurvetoCubicSmooth();

};

#endif
